From 1c8371a65c199daeba78cb31eb6e6219fb3a4045 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Wed, 26 Aug 2015 20:50:48 -0700 Subject: [PATCH] Fix docs for the CARGO_PROFILE variable --- src/doc/environment-variables.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/environment-variables.md b/src/doc/environment-variables.md index 898b0ef7d..83ff8c8c2 100644 --- a/src/doc/environment-variables.md +++ b/src/doc/environment-variables.md @@ -16,6 +16,9 @@ Here are a list of the variables Cargo sets, organized by when it sets them: * `CARGO_HOME` - Cargo maintains a local cache of the registry index and of git checkouts of crates. By default these are stored under `$HOME/.cargo`, but this variable overrides the location of this directory. +* `CARGO_PROFILE` - If this is set to a positive integer *N*, Cargo will record + timing data as it runs. When it exits, it will print this data as a profile + *N* levels deep. * `CARGO_TARGET_DIR` - Location of where to place all generated artifacts, relative to the current working directory. * `RUSTC` - Instead of running `rustc`, Cargo will execute this specified @@ -25,7 +28,6 @@ Here are a list of the variables Cargo sets, organized by when it sets them: # Environment variables Cargo sets for build scripts -* `CARGO_PROFILE` - either `debug` or `release`. * `CARGO_MANIFEST_DIR` - The directory containing the manifest for the package being built (the package containing the build script). Also note that this is the value of the -- 2.30.2